/*
 * Created on Jan 10, 2004
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.vectrics.recruiter.user;

import org.vectrics.location.Location;

/**
 * @author mmoore
 */
public class JobAgentLocation {
	private Long id = null;
	private Location location = null;
	private JobAgent agent = null;

	
	public JobAgentLocation() {
		super();
	}

	
	public boolean equals(Object obj) {
		JobAgentLocation other = (JobAgentLocation)obj;
		boolean result = (this.getId().equals(other.getId()));
		return(result);
	}
	
	public int hasCode() {
		return(id.hashCode());
	}
	


	/**
	 * @return Returns the location.
	 */
	public Location getLocation() {
		return location;
	}
	/**
	 * @param location The location to set.
	 */
	public void setLocation(Location location) {
		this.location = location;
	}
	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return Returns the agent.
	 */
	public JobAgent getAgent() {
		return agent;
	}
	/**
	 * @param agent The agent to set.
	 */
	public void setAgent(JobAgent agent) {
		this.agent = agent;
	}
}
